-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix deleting DBs in test for PSQL and document setup #40
Conversation
Signed-off-by: Enrique Lacal <enrique.lacal@kaleido.io>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #40 +/- ##
==========================================
+ Coverage 68.95% 70.26% +1.30%
==========================================
Files 12 12
Lines 538 538
==========================================
+ Hits 371 378 +7
+ Misses 118 113 -5
+ Partials 49 47 -2 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Enrique Lacal <enrique.lacal@kaleido.io>
go-sdk/integration-test/e2e_test.go
Outdated
func TestKeyManager(t *testing.T) { | ||
keypair := decryptKeyStorev3(t) | ||
|
||
keyEntry := key.NewKeyEntryFromPrivateKeyBytes([32]byte(keypair.PrivateKeyBytes())) | ||
assert.NotNil(t, keyEntry) | ||
|
||
assert.NotNil(t, keyEntry.PrivateKey) | ||
assert.NotNil(t, keyEntry.PublicKey) | ||
assert.NotNil(t, keyEntry.PrivateKeyForZkp) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was this an intended removal?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh no my bad
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm except for the question from @Chengxuan
sorry missed this in the review, you said:
where was this addressed? |
Signed-off-by: Enrique Lacal <enrique.lacal@kaleido.io>
Small PR to document that a Postgres instance needs to be running for the e2e of the go-sdk and make sure that the name of the table is not lowercased if not the tables will not get cleaned up after the test